import java.util.*;
public class fuhao{  //随机产生运算符
    char p;
    char yunsuanfu(){
        Random random=new Random();
        int m = random.nextInt(4)+1;  ////生成1到4之间的随机数m，分别表示+-*÷四则运算
        switch(m){
            case 1:
                p='+';
                break;
            case 2:
                p='-';
                break;
            case 3:
                p='*';
                break;
            case 4:
                p='÷';
                break;
        }
        return p;
    }
}





